﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using DBLibrary;

[DataObject]
public class KeyDB
{
	private DB mDB;
    public KeyDB()
	{
        mDB = PoseidonDBHelper.AdminDB;
	}

    [DataObjectMethod(DataObjectMethodType.Select, true)]
    public List<KeyDetail> GetKeys()
    {
        return mDB.Select<KeyDetail>();
    }
}